#ifndef MALLOC_INCL_H
#define MALLOC_INCL_H

typedef struct {
    int real_size;
    char *buffer;
} outbuffer_t;

void outbuf_zero(outbuffer_t *);
void outbuf_add(outbuffer_t *, char *);
void outbuf_addchar(outbuffer_t *, char);
void CDECL outbuf_addv(outbuffer_t *, char *, ...);
void outbuf_fix(outbuffer_t *);
void outbuf_push(outbuffer_t *);
int outbuf_extend(outbuffer_t *, int);

#endif

